package com.hgkj.cloud.base.service.impl;

import com.hgkj.cloud.base.dao.TableFactorDictWarningMapper;
import com.hgkj.cloud.base.domain.TableFactorDictWarning;
import com.hgkj.cloud.base.service.TableFactorDictWarningService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class TableFactorDictWarningServiceImpl implements TableFactorDictWarningService {

    @Autowired
    private TableFactorDictWarningMapper tableFactorDictWarningMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return tableFactorDictWarningMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(TableFactorDictWarning record) {
        return tableFactorDictWarningMapper.insert(record);
    }

    @Override
    public int insertSelective(TableFactorDictWarning record) {
        return tableFactorDictWarningMapper.insertSelective(record);
    }

    @Override
    public TableFactorDictWarning selectByPrimaryKey(Integer id) {
        return tableFactorDictWarningMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(TableFactorDictWarning record) {
        return tableFactorDictWarningMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(TableFactorDictWarning record) {
        return tableFactorDictWarningMapper.updateByPrimaryKey(record);
    }

    @Override
    public List<TableFactorDictWarning> listTableAnalyzeFactors(Map<String, Object> map) {
        return tableFactorDictWarningMapper.listTableAnalyzeFactors(map);
    }
}
